home *** CD-ROM | disk | FTP | other *** search
/ Aminet 13 / Aminet 13 - August 1996.iso / MainActor / LoadMPEG / ENG / LoadMPEG.doc < prev   
Text File  |  1994-07-21  |  4KB  |  83 lines

  1.  
  2.  
  3.  
  4.  
  5. LoadMPEG_adpro.ma                                written by Alex Kazik 1994
  6. LoadMPEG_HAM6.ma
  7. LoadMPEG_HAM8.ma
  8.  
  9.  
  10. -----  the idea  ----------------------------------------------------------
  11.   The idea of these three ARexx-scripts is to decode MPEGs. I got a decoder
  12. from the AmiNet, but it's not simple to handle it.  To solve this problem I
  13. wrote these scripts, which are simple to handle.
  14.  
  15.  
  16. -----  the installation  --------------------------------------------------
  17.   The installing of LoadMPEG is very  simple. MainActor  must be installed,
  18. and  an assign  called "MainActor:"  must exist. Just  do a  doubleclick on
  19. Install MPEGLoader "English", and it installes it automatically.
  20.  
  21.  
  22. -----  the operation  -----------------------------------------------------
  23.   To start the script, choose "Start ARexx-Script" in to MainActor from the
  24. menu "ARexx". Then choose the file "LoadMPEG_adpro.ma".
  25.   First you get asked, which MPEG-anim shall be decoded. Then you get asked
  26. to give the name of the animation you want to make.  If such a file already
  27. exists,  give the same name again to delete it.  If you don't want to erase
  28. the file enter another name or press "Cancel".
  29.   In the next step the  MPEG-anim gets  splitted in seperate  YUV-pictures,
  30. and the WB comes to the front and a window gets opened.  In this window you
  31. can follow the steps.
  32.  
  33. *** Remember the width and the height  of the animation,  which you get  to
  34. *** know at the beginning of the decoding.
  35.  
  36.   After this is done, the pictures get counted.  Then you are asked to give
  37. the original  width and height,  give the values that you  have remembered.
  38. This is important,  because the YUV-format  stores only the simple picture-
  39. information without width and height.
  40.   In the next step the YUV-pics  are converted into  PPM-pictures and  then
  41. into 24bit IFF-pictures.
  42.   Then ADPro gets loaded, if it is not already in the memory.  It takes not
  43. more than 30 sec. to load ADPro.  If it does not work you get  asked if you
  44. want to wait longer . When you stop the  operation the  stored pictures get
  45. not erased.
  46.   All settings get stored and at the and of the script loaded.
  47.   Now you  get asked,  how the anim should  look like.  That means how many
  48. colours.  You can choose  between 2-256 colours,  HAM and HAM8.  Then it is
  49. asked if it is to  calculate for every picture a  new palette (UnLocked) or
  50. if the actual  palette should be taken for every  picture (Locked), or if a
  51. palette shall get loaded and be taken for every picture (LoadPAL).  Now you
  52. get asked  if ADPro should dither the pictures.  You can choose between all
  53. ADPro dither-functions.  If you choose "Random",  "Lg Ord"  or "Sm Ord" you
  54. can select the "DitherAmount".
  55.   After  all  theese  adjustments,  ADPro  starts working , and  writes  an
  56. IFF-Anim5-animation.  When ADPro has come to an end, and it has been loaded
  57. you get asked if ADPro should be closed.
  58.  If it is needed a new project gets opened, and the  animation gets loaded.
  59. Thats all!
  60.  
  61.  
  62. -----  the two other scripts  ---------------------------------------------
  63.   The two  other  scripts  decode a  MPEG-Anim  without  using  ADPro.  The
  64. handling is the same as wich the other script, but the  script creates only
  65. HAM6/HAM8 pictures, and there is  no palette/dither function. At the end is
  66. no anim, only a list of pictures. You can save them to an anim.
  67.  
  68.  
  69. -----  at least:  ---------------------------------------------------------
  70.   The programms in the drawer MainActor:mpeg  are from Andy C. Hung (Unix),
  71. ported  to Amiga by  Son H. Le. Thanks,  because without  this  programm it
  72. would not have been possible to create these scripts.  The original archive
  73. is in the directory mpeg in this packet.
  74.   If you  have problems  with  these  scripts  or new  ideas  or  money  or
  75. something else, please contact me.
  76.  
  77.  
  78.  
  79.  
  80.                               Alex Kazik
  81.                           Stapenhorststr. 81
  82.                            33615 Bielefeld
  83.                                Germany